﻿// =================================================================== 
// 项目说明
//====================================================================
// @Copy Right 2006-2008
// 文件： T_PRODUCTRESOURCE.cs
// 项目名称：Lovol 
// 创建时间：2011/9/21
// 负责人：
// ===================================================================
using System;
using System.Collections.Generic;
using System.Text;
using DP.Data.OracleClient;
using System.Configuration;
using DP.Data.SqlClient;
namespace CRM.Entity
{
	/// <summary>
	///T_PRODUCTRESOURCE数据实体
	/// </summary>
	[Serializable]
    [OracleTable(TableName = "T_PRODUCTRESOURCE", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
    [SqlTable(TableName = "T_PRODUCTRESOURCE", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
	public class T_PRODUCTRESOURCE_Entity
	{
		#region 变量定义		
		///<summary>
		///编号
		///</summary>
		private long _pRODUCTRESOURCEID;
		///<summary>
		///产品代码
		///</summary>
		private string _pRODUCTCODE = String.Empty;
		///<summary>
		///品牌
		///</summary>
		private string _bRAND = String.Empty;
		///<summary>
		///类型
		///</summary>
		private string _vEHICLETYPE = String.Empty;
		///<summary>
		///系列
		///</summary>
		private string _sERIES = String.Empty;
		///<summary>
		///机型
		///</summary>
		private string _mODELS = String.Empty;
		///<summary>
		///发动机型号
		///</summary>
		private string _eNGINEMODEL = String.Empty;
		///<summary>
		///发动机厂家
		///</summary>
		private string _eNGINEMANUFACTURERS = String.Empty;
		///<summary>
		///品牌代码
		///</summary>
		private string _bRANDCODE = String.Empty;
		///<summary>
		///类型代码
		///</summary>
		private string _vEHICLETYPECODE = String.Empty;
		///<summary>
		///系列代码
		///</summary>
		private string _sERIESCODE = String.Empty;
		///<summary>
		///机型代码
		///</summary>
		private string _mODELSCODE = String.Empty;
		///<summary>
		///发动机型号代码
		///</summary>
		private string _eNGINEMODELCODE = String.Empty;
		///<summary>
		///发动机厂家代码
		///</summary>
		private string _eNGINEMANUFACTURERSCODE = String.Empty;
		///<summary>
		///创建时间
		///</summary>
		private DateTime? _cREATETIME;
		///<summary>
		///创建人编号
		///</summary>
		private long? _cREATEPEOPLEID = 0;
		///<summary>
		///创建人
		///</summary>
		private string _cREATEPEOPLE = String.Empty;
		///<summary>
		///最后修改人编号
		///</summary>
		private long? _lASTMODIFYPEOPLEID = 0;
		///<summary>
		///最后修改人
		///</summary>
		private string _lASTMODIFYPEOPLE = String.Empty;
		///<summary>
		///最后修改时间
		///</summary>
		private DateTime? _lASTMODIFYTIME;
		///<summary>
		///备注
		///</summary>
		private string _rEMARK = String.Empty;
		///<summary>
		///状态
		///</summary>
		private long? _sTATUS = 0;
		///<summary>
		///变速箱型号
		///</summary>
		private string _gEARTYPE = String.Empty;
		///<summary>
		///变速箱号
		///</summary>
		private string _gEARCODE = String.Empty;
		///<summary>
		///批发价
		///</summary>
		private decimal? _sALESPRICE = 0;
		///<summary>
		///零售价
		///</summary>
		private decimal? _pRICE = 0;
		///<summary>
		///车身颜色
		///</summary>
		private string _cOLOR = String.Empty;
		///<summary>
		///公告号
		///</summary>
		private string _bULLETINCODE = String.Empty;
		///<summary>
		///速查码
		///</summary>
		private string _qUICKCODE = String.Empty;
		///<summary>
		///排量
		///</summary>
		private string _eMISSIONS = String.Empty;
		///<summary>
		///供应商编号
		///</summary>
		private string _sUPPLYCODE = String.Empty;
		///<summary>
		///总成系列号格式定义
		///</summary>
		private string _sERIALMENO = String.Empty;
		///<summary>
		///事业部编号
		///</summary>
		private long? _bUSINESSDIVISIONID = 0;
		///<summary>
		///事业部名称
		///</summary>
		private string _bUSINESSDIVISIONNAME = String.Empty;
		///<summary>
		///事业部代码
		///</summary>
		private string _bUSINESSDIVISIONCODE = String.Empty;
		#endregion
		
		#region 构造函数
		///<summary>
		///
		///</summary>
		public T_PRODUCTRESOURCE_Entity()
		{			
			
		}
		#endregion
		
		#region 公共属性
		
		///<summary>
		///编号
		///</summary>		
        [OracleColumn(IncrementPrimaryKey = false, PrimaryKey = true, SequenceName = "SQ_T_PRODUCTRESOURCE")]
        [SqlColumn(IncrementPrimaryKey = true, PrimaryKey = true)]
		public long PRODUCTRESOURCEID
		{
			get {return _pRODUCTRESOURCEID;}
			set { _pRODUCTRESOURCEID = value; }
			
		}

		///<summary>
		///产品代码
		///</summary>		
		public string PRODUCTCODE
		{
			get {return _pRODUCTCODE;}
			set {
					_pRODUCTCODE = value;
				}
			
		}

		///<summary>
		///品牌
		///</summary>		
		public string BRAND
		{
			get {return _bRAND;}
			set {
					_bRAND = value;
				}
			
		}

		///<summary>
		///类型
		///</summary>		
		public string VEHICLETYPE
		{
			get {return _vEHICLETYPE;}
			set {
					_vEHICLETYPE = value;
				}
			
		}

		///<summary>
		///系列
		///</summary>		
		public string SERIES
		{
			get {return _sERIES;}
			set {
					_sERIES = value;
				}
			
		}

		///<summary>
		///机型
		///</summary>		
		public string MODELS
		{
			get {return _mODELS;}
			set {
					_mODELS = value;
				}
			
		}

		///<summary>
		///发动机型号
		///</summary>		
		public string ENGINEMODEL
		{
			get {return _eNGINEMODEL;}
			set {
					_eNGINEMODEL = value;
				}
			
		}

		///<summary>
		///发动机厂家
		///</summary>		
		public string ENGINEMANUFACTURERS
		{
			get {return _eNGINEMANUFACTURERS;}
			set {
					_eNGINEMANUFACTURERS = value;
				}
			
		}

		///<summary>
		///品牌代码
		///</summary>		
		public string BRANDCODE
		{
			get {return _bRANDCODE;}
			set {
					_bRANDCODE = value;
				}
			
		}

		///<summary>
		///类型代码
		///</summary>		
		public string VEHICLETYPECODE
		{
			get {return _vEHICLETYPECODE;}
			set {
					_vEHICLETYPECODE = value;
				}
			
		}

		///<summary>
		///系列代码
		///</summary>		
		public string SERIESCODE
		{
			get {return _sERIESCODE;}
			set {
					_sERIESCODE = value;
				}
			
		}

		///<summary>
		///机型代码
		///</summary>		
		public string MODELSCODE
		{
			get {return _mODELSCODE;}
			set {
					_mODELSCODE = value;
				}
			
		}

		///<summary>
		///发动机型号代码
		///</summary>		
		public string ENGINEMODELCODE
		{
			get {return _eNGINEMODELCODE;}
			set {
					_eNGINEMODELCODE = value;
				}
			
		}

		///<summary>
		///发动机厂家代码
		///</summary>		
		public string ENGINEMANUFACTURERSCODE
		{
			get {return _eNGINEMANUFACTURERSCODE;}
			set {
					_eNGINEMANUFACTURERSCODE = value;
				}
			
		}

		///<summary>
		///创建时间
		///</summary>		
		public DateTime? CREATETIME
		{
			get {return _cREATETIME;}
			set { _cREATETIME = value; }
			
		}

		///<summary>
		///创建人编号
		///</summary>		
		public long? CREATEPEOPLEID
		{
			get {return _cREATEPEOPLEID;}
			set { _cREATEPEOPLEID = value; }
			
		}

		///<summary>
		///创建人
		///</summary>		
		public string CREATEPEOPLE
		{
			get {return _cREATEPEOPLE;}
			set {
					_cREATEPEOPLE = value;
				}
			
		}

		///<summary>
		///最后修改人编号
		///</summary>		
		public long? LASTMODIFYPEOPLEID
		{
			get {return _lASTMODIFYPEOPLEID;}
			set { _lASTMODIFYPEOPLEID = value; }
			
		}

		///<summary>
		///最后修改人
		///</summary>		
		public string LASTMODIFYPEOPLE
		{
			get {return _lASTMODIFYPEOPLE;}
			set {
					_lASTMODIFYPEOPLE = value;
				}
			
		}

		///<summary>
		///最后修改时间
		///</summary>		
		public DateTime? LASTMODIFYTIME
		{
			get {return _lASTMODIFYTIME;}
			set { _lASTMODIFYTIME = value; }
			
		}

		///<summary>
		///备注
		///</summary>		
		public string REMARK
		{
			get {return _rEMARK;}
			set {
					_rEMARK = value;
				}
			
		}

		///<summary>
		///状态
		///</summary>		
		public long? STATUS
		{
			get {return _sTATUS;}
			set { _sTATUS = value; }
			
		}

		///<summary>
		///变速箱型号
		///</summary>		
		public string GEARTYPE
		{
			get {return _gEARTYPE;}
			set {
					_gEARTYPE = value;
				}
			
		}

		///<summary>
		///变速箱号
		///</summary>		
		public string GEARCODE
		{
			get {return _gEARCODE;}
			set {
					_gEARCODE = value;
				}
			
		}

		///<summary>
		///批发价
		///</summary>		
		public decimal? SALESPRICE
		{
			get {return _sALESPRICE;}
			set { _sALESPRICE = value; }
			
		}

		///<summary>
		///零售价
		///</summary>		
		public decimal? PRICE
		{
			get {return _pRICE;}
			set { _pRICE = value; }
			
		}

		///<summary>
		///车身颜色
		///</summary>		
		public string COLOR
		{
			get {return _cOLOR;}
			set {
					_cOLOR = value;
				}
			
		}

		///<summary>
		///公告号
		///</summary>		
		public string BULLETINCODE
		{
			get {return _bULLETINCODE;}
			set {
					_bULLETINCODE = value;
				}
			
		}

		///<summary>
		///速查码
		///</summary>		
		public string QUICKCODE
		{
			get {return _qUICKCODE;}
			set {
					_qUICKCODE = value;
				}
			
		}

		///<summary>
		///排量
		///</summary>		
		public string EMISSIONS
		{
			get {return _eMISSIONS;}
			set {
					_eMISSIONS = value;
				}
			
		}

		///<summary>
		///供应商编号
		///</summary>		
		public string SUPPLYCODE
		{
			get {return _sUPPLYCODE;}
			set {
					_sUPPLYCODE = value;
				}
			
		}

		///<summary>
		///总成系列号格式定义
		///</summary>		
		public string SERIALMENO
		{
			get {return _sERIALMENO;}
			set {
					_sERIALMENO = value;
				}
			
		}

		///<summary>
		///事业部编号
		///</summary>		
		public long? BUSINESSDIVISIONID
		{
			get {return _bUSINESSDIVISIONID;}
			set { _bUSINESSDIVISIONID = value; }
			
		}

		///<summary>
		///事业部名称
		///</summary>		
		public string BUSINESSDIVISIONNAME
		{
			get {return _bUSINESSDIVISIONNAME;}
			set {
					_bUSINESSDIVISIONNAME = value;
				}
			
		}

		///<summary>
		///事业部代码
		///</summary>		
		public string BUSINESSDIVISIONCODE
		{
			get {return _bUSINESSDIVISIONCODE;}
			set {
					_bUSINESSDIVISIONCODE = value;
				}
			
		}
		
		
		#endregion
		
	}
}
